<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Resource Finder</title>
<style>
  body, h1, td, p { font-family: helvetica, arial; font-size: 13px;
    vertical-align: top; min-width: 150px; }
  div { padding: 2px 0px 5px 10px; }
  h1 { font-size: 16px }
  ol { margin:0 0 1em 2em; *margin:0 0 1em 2.3em }
  p { margin:0 0 1em }
  li { margin:0 0 .5em }
  .footer { margin:3em 0 0; text-align:center; color: #666; }
  .q { font-weight: bold }
  .maincontent { width:760px; margin: 15px; }
  pre { margin-left: 2em; padding: 0.5em; background: #eee;
    border: 1px solid #ddd; }
</style>
</head>
<body class="maincontent">
  <h1>Updating Facilities by Email</h1>

  <p>To update a facility via email, you can draft a new email or, if you are subscribed to
    email updates for a facility, simply reply to an email update notification.

  <p>If you wish to draft a new email, use the email address pattern subdomain-updates@resource-finder.appspotmail.com. For example:
    <ul>
      <li>Haiti: <a href="mailto:haiti-updates@resource-finder.appspotmail.com">
          haiti-updates@resource-finder.appspotmail.com</a></li>
      <li>Pakistan: <a href="mailto:pakistan-updates@resource-finder.appspotmail.com">
          pakistan-updates@resource-finder.appspotmail.com</a></li>
    </ul>

  <p>Each facility must start with a line in the following format:

  <pre>update General Hospital</pre>

  <p>Each line that follows must start with the name of an attribute, followed by a space, and then the new value for that attribute. A complete list of attribute names is included below. For example, to update the number of total and available beds for a facility, type:

  <pre>update General Hospital
Total beds: 500
Available beds: 79</pre>

  <p>An update email for two facilities might look like the following:

  <pre>update General Hospital
Total beds: 37
Available beds: 10
Contact name John Smith

update Public Hospital
Reachable by road: yes</pre>

  <p>For more information, visit the following:

  <ul>
    <li><a href="/help/email/documentation">Documentation</a>
    <li><a href="/help/email/reference">Reference</a></p></ul>

  <br/>

  <h1>Supported Attributes</h1>

  <table>
    <tr>
      <td colspan="2">
        <b>Text attribute values can contain any letter, number, or
          punctuation:</b>
      </td>
    </tr>
    <tr>
      <td>Contact name</td>
      <td>The primary contact of the facility</td>
    </tr>
    <tr>
      <td>Phone</td>
      <td>The primary phone number of the facility</td>
    </tr>
    <tr>
      <td>Email</td>
      <td>The primary email contact of the facility</td>
    </tr>
    <tr>
      <td>Department</td>
      <td>The facility's department name</td>
    </tr>
    <tr>
      <td>District</td>
      <td>The facility's district name</td>
    </tr>
    <tr>
      <td>Commune</td>
      <td>The facility's commune name</td>
    </tr>
    <tr>
      <td>Address</td>
      <td>The facility's address</td>
    </tr>
    <tr>
      <td>Organization</td>
      <td>The facility's organization name</td>
    </tr>
    <tr>
      <td>Damage</td>
      <td>Description of any damage done to the facility</td>
    </tr>
    <tr>
      <td>Alert status</td>
      <td>Any significant alert information for the facility</td>
    </tr>

    <tr>
      <td colspan="2">
        <b><br/>Number attribute values must be whole numbers:</b>
      </td>
    </tr>
    <tr>
      <td>Available beds</td>
      <td>The number of available beds at the facility</td>
    </tr>
    <tr>
      <td>Total beds</td>
      <td>The total number of beds at the facility</td>
    </tr>

    <tr>
      <td colspan="2">
        <b><br/>Yes/No attribute values must be either "yes" or "no":</b>
      </td>
    </tr>
    <tr>
      <td>Reachable by road</td>
      <td>Whether or not the facility is reachable by road</td>
    </tr>
    <tr>
      <td>Can pick up patients</td>
      <td>Whether or not the facility can pick up patients</td>
    </tr>

    <tr>
      <td colspan="2">
        <b><br/>Multiple choice attribute values must be comma separated. Add a
          '-' to the start of a value to remove it from the list:</b>
      </td>
    </tr>
    <tr>
      <td>Services</td>
      <td>Available services for the facility.
        <div>
          <b>Choices:</b> General Surgery, Orthopedics, Neurosurgery, Vascular
          Surgery, Internal Medicine, Cardiology, Infectious Disease,
          Pediatrics, Postoperative Care, Rehabilitation, Obstetrics and
          Gynecology, Mental Health, Dialysis, Lab, X-Ray, CT Scan, Blood Bank,
          Mortuary Services, Cholera Treatment</div></td>
    </tr>

    <tr>
      <td colspan="2">
        <b><br/>List attribute values must be one of a specific set of
          choices.</b>
      </td>
    </tr>
    <tr>
      <td>Organization type</td>
      <td>The category of organization the facility falls under
        <div>
          <b>Choices:</b> Public, For-profit, University, Community, NGO,
          Faith-based, Military, Mixed</div></td>
    </tr>
    <tr>
      <td>Category</td>
      <td>The type of facility
        <div>
          <b>Choices:</b> Hospital, Clinic, Mobile Clinic, Dispensary,
          Laboratory</div></td>
    </tr>
    <tr>
      <td>Construction</td>
      <td>The construction type of the building
        <div>
          <b>Choices:</b> Reinforced concrete, Unreinforced masonry, Wood frame,
          Adobe</div></td>
    </tr>
    <tr>
      <td>Operational status</td>
      <td>The current operational status of the facility
        <div>
          <b>Choices:</b> Operational, No surgical capacity, Field hospital,
          Field hospital co-located with hospital, Closed or closing</div></td>
    </tr>
  </table>
{% include "footer.html" %}
{% include "../../templates/analytics.html" %}
